/**
 * This class instances will be used as system oriented objects.
 * Currently it only contains fields for will be used for queries.
 * 
 * @author Gil Levinson
 * @author Boris Fradlis
 * @author Yogev Levi
 * @author Hila Porat
 *  
 */

package system;
import java.io.Serializable;
import java.util.Observable;

// Start of SystemTypes *********************************************
@SuppressWarnings("serial")
public class SystemTypes implements Serializable {
	
	// Class variables **********************************************
	
	private Serializable obj;
	private SystemMode sysMode;
	
	/**
	 * No implementation constructor
	 */

	public SystemTypes(){};
	
	/**
	 * Construct an instance of this class
	 * @param o used to hold the object to be transfered
	 * @param t used to hold the system mode 
	 */
	
	public SystemTypes(Serializable o, SystemMode s){
		this.obj = o;
		this.sysMode = s;
	}
	
	// Getters and Setters ******************************************

	/**
	 * @return the obj
	 */
	public Serializable getObj() {
		return obj;
	}

	/**
	 * @param obj the obj to set
	 */
	public void setObj(Serializable obj) {
		this.obj = obj;
	}

	/**
	 * @return the sysMode
	 */
	public SystemMode getSysMode() {
		return sysMode;
	}

	/**
	 * @param sysMode the sysMode to set
	 */
	public void setSysMode(SystemMode sysMode) {
		this.sysMode = sysMode;
	}


} //End of SystemTypes
